package com.mes.biz.service;

import com.github.pagehelper.PageInfo;
import com.mes.biz.domain.BizOrder;
import com.mes.common.core.service.BaseService;
import com.mes.biz.domain.BizMeasure;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 测量单Service接口
 * @author swf
 * @email swf
 * @date 2023-09-04
 */
public interface BizMeasureService extends BaseService<BizMeasure> {

    /**
     * 批量删除测量单
     * @param ids 需要删除的测量单ID集合
     * @return 结果
     */
    public int deleteBizMeasureByIds(String[] ids);

    /**
     * 创建测量单
     * @param bizMeasure
     * @return
     */
    public boolean create(BizMeasure bizMeasure);

    /**
     * 修改测量单
     * @param bizMeasure
     * @return
     */
    public boolean update(BizMeasure bizMeasure);

    /**
     * 根据测量单编号查询测量单信息
     * @param measureNumber
     * @return
     */
    BizMeasure getBizMeasureByMeasureNumber(@Param("measureNumber") String measureNumber);

    PageInfo<BizMeasure> appletList(BizMeasure bizMeasure);
}
